package Factory.factoryMethod;

/**
 * @ProjectName: 23种设计模式
 * @Package: Factory.factoryMethod
 * @ClassName: VehicleFactory
 * @Author: renhan
 * @Description:
 * @Date: 2020/11/10 19:23
 * @Version: 1.0
 */
public class VehicleFactory {
    public Car createCar() {
        //before processing
        return new Car();
    }
    public Broom createBroom() {
        return new Broom();
    }
}
